package com.picture;

public class inherit {
    public static void main(String[] args){
        school s1 = new school();
        s1.setName("张三");
        s1.setSchool("山西大学软件工程学院");
        System.out.println("学生姓名："+s1.getName());
        System.out.println("学校名称："+s1.getSchool());
    }
}
